package org.springblade.modules.platform.vo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class EnergyDeviceListDTO {
	private List<EquipmentRuningVO> list;
	@JsonSerialize(nullsUsing = NullSerializer.class)
	private Integer total;


	@NoArgsConstructor
	@Data
	public static class EquipmentRuningVO {

		private String jsonText;

		@ApiModelProperty(value = "区域")
		private String propertieValue;


		/**
		 * 所属机构
		 */
		@ApiModelProperty(value = "所属机构")
		private String affiliatedInstitutions;
		/**
		 * 所属机构编号
		 */
		@ApiModelProperty(value = "所属机构编号")
		private String affiliatedInstitutionsCode;
	}
}
